<?php
/*
 * Created on Nov 19, 2007
 * File: Test.php
 * Project: BIMP
 * Author: jerrad
 */

  
//require the includes php file one directory up
require_once(dirname(__FILE__). DIRECTORY_SEPARATOR ."includes.php");

//register the autoloader
spl_autoload_register(array('Doctrine', 'autoload'));


require_once("lib\generated\BaseInventory.class.php");
require_once("lib\Inventory.class.php");


//set up a connection
Doctrine_Manager::connection('mysql://bimp:bimp@localhost/bimp');

    
    $inventory = new Inventory();
    
    var_dump($inventory);
    
    
 
?>
